package com.fjsh.config;

import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.ArrayList;
import java.util.List;

/**
 * 配置oAuth2需要忽略认证的资源路径
 */
@Component
@Configurable
@ConfigurationProperties(prefix = "security.oauth2.ignore")
public class AuthIgnoreConfig {

    private List<String> uris = new ArrayList<>();

    public List<String> getUris() {
        return uris;
    }

    public void setUris(List<String> urls) {
        this.uris = urls;
    }

}
